package com.dingup.mock.bean.base;

import java.util.Date;

/**
 * Created by wancheng on 2018/5/30.
 */
public class BaseQuestion implements Cloneable {
    private Integer id;
    private String subjectName;
    private Integer questionNum;
    private Date createTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSubjectName() {
        return subjectName;
    }

    public void setSubjectName(String subjectName) {
        this.subjectName = subjectName;
    }

    public Integer getQuestionNum() {
        return questionNum;
    }

    public void setQuestionNum(Integer questionNum) {
        this.questionNum = questionNum;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 实体克隆
     * @return
     * @throws CloneNotSupportedException
     */
    public BaseQuestion clone() throws CloneNotSupportedException{
        BaseQuestion ts = (BaseQuestion) super.clone();
        return ts;
    }
}
